//
//  DateUtils.h
//  uteped_sdk
//
//  Created by mateng on 2024/3/2.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface DateUtils : NSObject

+ (NSTimeInterval)timeToInt:(NSString*)dateString fmt:(NSString*)fmt;
+ (NSString *)timeStampToString:(NSInteger)stamp fmt:(NSString*)fmt;
+ (NSInteger)getTimeInSeconds:(NSDate*)date truncHMS:(BOOL)truncHMS;
+ (NSInteger)getNowTimeInSeconds;
@end

NS_ASSUME_NONNULL_END
